package com.extremeforce.client;

import java.io.IOException;

import org.xmlpull.v1.XmlPullParserException;

import android.content.Context;

import com.extremeforce.db.DBMaster;

public class GetAllData {
	public GetAllData(DBMaster dbMaster) {
		this.dbMaster = dbMaster;
	}
	private DBMaster dbMaster = null;
	public void getSalesInfo() {
		IGuangClient client = new IGuangClient();
		dbMaster.insertIntoSalesInfo(client.getSalesInfo(),"SALES_INFO");
	}
	public void getRecommendedData(){
		IGuangClient client = new IGuangClient();
		dbMaster.insertIntoSalesInfo(client.getRecommendData(),"DAILY_RECOMMEND");
	}
}
